﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using System.ComponentModel.DataAnnotations;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;
using EMS.Calendar.Models;
using System.Web.Mvc;

namespace EMS.Calendar.ViewModels {
    public class CalendarViewModel {
        public EventOccurrenceType EventOccurrence { get; set; }
        public IEnumerable<SelectListItem> EventOccurrenceList { get; set; }
        public DateTime? StartDate { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndDate { get; set; }
        public DateTime? EndTime { get; set; }
        public bool IsAllDayEvent { get; set; }
        public PatternType Pattern { get; set; }
        public IEnumerable<SelectListItem> PatternList { get; set; }
        public int PeriodSpan { get; set; }
        public int DayOfPeriod { get; set; }
        public DayInstanceType DayInstance { get; set; }
        public IEnumerable<SelectListItem> DayInstanceList { get; set; }
        public string[] DayNamesArray { get; set; }
        public IEnumerable<SelectListItem> DayNameList { get; set; }
        public MonthNameType MonthName { get; set; }
        public IEnumerable<SelectListItem> MonthNameList { get; set; }
        public RecurrenceEndType RecurrenceEnd { get; set; }
        public IEnumerable<SelectListItem> RecurrenceEndList { get; set; }
        public int NumberOccurrences { get; set; }

    }
}